<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@taglib uri="/struts-tags" prefix="s" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>ECSHOP 管理中心 - 客户移交列表 </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>


    <%--<jsp:include page="/WEB-INF/views/common.jsp"></jsp:include>--%>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

    <!-- bootstrap -->
    <link href="/css/bootstrap/bootstrap.css" rel="stylesheet"/>
    <link href="/css/bootstrap/bootstrap-responsive.css" rel="stylesheet"/>
    <link href="/css/bootstrap/bootstrap-overrides.css" type="text/css" rel="stylesheet"/>

    <!-- libraries -->
    <link href="/css/lib/jquery-ui-1.10.2.custom.css" rel="stylesheet" type="text/css"/>
    <link href="/css/lib/font-awesome.css" type="text/css" rel="stylesheet"/>

    <!-- global styles -->
    <link rel="stylesheet" type="text/css" href="/css/layout.css"/>
    <link rel="stylesheet" type="text/css" href="/css/elements.css"/>
    <link rel="stylesheet" type="text/css" href="/css/icons.css"/>

    <!-- this page specific styles -->
    <link rel="stylesheet" href="/css/compiled/index.css" type="text/css" media="screen"/>

    <!-- open sans font -->
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800'
          rel='stylesheet' type='text/css'/>

    <!-- lato font -->
    <link href='http://fonts.googleapis.com/css?family=Lato:300,400,700,900,300italic,400italic,700italic,900italic'
          rel='stylesheet' type='text/css'/>

    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

</head>
<body>

<form method="post" action="" name="listForm" onsubmit="">
    <div class="table-wrapper orders-table section">
        <div class="row-fluid head">
            <div class="span12">
                <h4>客户移交列表</h4>
            </div>
        </div>
        <div class="row-fluid filter-block">
            <form action="" name="searchForm">
                <div class="pull-right">
                    <div class="btn-group pull-right">
                        <button class="glow middle large">搜索</button>
                    </div>
                    <input type="text" class="search order-search" placeholder="输入关键字搜索"/>
                </div>
            </form>
            <span class="btn-flat success new-product"><a href="${path }/customer_viewEdit.action">添加新客户移交</a></span>
        </div>
        <div class="row-fluid">
            <table class="table table-hover">
                <thead>
                <tr>
                    <th class="span2" style="text-align: center">
                        编号
                    </th>
                    <th class="span3" style="text-align: center">
                        移交客户
                    </th>
                    <th class="span3" style="text-align: center">
                        <span class="line"></span>
                        旧营销人员
                    </th>
                    <th class="span3" style="text-align: center">
                        <span class="line"></span>
                        新营销人员
                    </th>
                    <th class="span3" style="text-align: center">
                        <span class="line"></span>
                        移交时间
                    </th>
                    <th class="span3" style="text-align: center">
                        <span class="line"></span>
                        移交原因
                    </th>
                    <th class="span3" style="text-align: center">
                        <span class="line"></span>
                        查看
                    </th>
                </tr>
                </thead>
                <tbody>
                <!-- 先判断，再迭代 -->
                <s:if test="#request.listTransferHistory != null">
                <s:iterator value="#request.listTransferHistory">
                <tr>
                    <td align="center"><s:property value="id"/></td>
                    <td align="center"><s:property value="customer.name"/></td>
                    <td align="center">
                        <s:property value="oddSeller.name"/>
                    </td>
                    <td align="center">
                        <s:property value="newSeller.name"/>
                    </td>
                    <td align="center">
                        <s:date name="transferTime" format="yyyy-MM-dd"/>
                    </td>
                    <td align="center">
                        <s:property value="reason"/>
                    </td>

                    <td align="center">
                        <a href="#" target="_blank" title="查看"><img src="./Images/icon_view.gif" width="16" height="16"
                                                                    border="0"/></a>
                    </td>
                </tr>
                </s:iterator>
                </s:if>
                <s:else>
                <tr>
                    <td colspan="8">还没有数据录入，请先录入！</td>
                </tr>
                </s:else>

            </table>

        </div>
    </div>
    </div>
</form>

<div style="text-align: center" i>
    共执行 7 个查询，用时 0.028849 秒，Gzip 已禁用，内存占用 3.219 MB<br/>
    版权所有 &copy; 2018-2019 yjxsy1996，并保留所有权利。
</div>
</body>
</html>

</body>
</html>